<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../dest/css/jedate.css">
    <link rel="stylesheet" href="../dest/css/employees.css">
</head>
<body>
<div class="mod-wrap">
        <!--header-->
        <div class="mod-header">
            <div class="header-bd">
                <a href="#" class="header-logo">e员工|人事云</a>
                <div class="header-info">
                    <div class="user-vip"><a href="#">vip</a></div>
                    <div class="user-info">
                        <div class="user-pic"><img src="../dest/images/icon-default.png" alt=""></div>
                        <div class="user-name">
                            <h3>张三</h3>
                            <p>方正人才</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--end header-->
        <!--body-->
        <div class="mod-body" id="bodyBox">
            <div class="mod-menu">
                <div class="menu-bd" id="menuBox"></div>
                <a href="javascript:EPS.menu.btn();" class="menu-btn">展开/收起</a>
            </div>
            <div class="mod-content">
                <div class="mod-secBody">
                    <div class="mod-control">
                        <a href="javascript:EPS.employ.btn.addInterview();" class="btn btn-small btn-rounded btn-green"><i class="fui-font fui-font-e999"></i>添加面试约定</a>
                        <a href="javascript:EPS.employ.btn.InterviewRecords();" class="btn btn-small btn-rounded btn-green"><i class="fui-font fui-font-e9ae"></i>面试记录</a>
                        <a href="javascript:EPS.employ.btn.delEmploy();" class="btn btn-small btn-rounded btn-green"><i class="fui-font fui-font-e937"></i>删除</a>
                        <a href="javascript:EPS.employ.btn.batchSMS();" class="btn btn-small btn-rounded btn-green"><i class="fui-font fui-font-e9bd"></i>批量短信发送</a>
                        <div class="mod-search" data-search="enable">
                            <div class="search-bd">
                                <input type="text" class="search-ipt" placeholder="请输入关键字" data-enter="EPS.employ.btn.toSearch">
                                <a href="javascript:;" onclick="EPS.employ.btn.toSearch(this)" class="search-btn"><i class="fui-font fui-font-e998"></i></a>
                            </div>
                        </div>
                    </div>
                    <div class="mod-table"></div>
                </div>
            </div>
        </div>
        <!--end body-->
    </div>

<!--添加面试约定-->
<template id="addInterview">
    <div class="fui-form">
        <form action="" class="addInterviewForm">
            <div class="form-item">
                <label for="" class="form-item-label">姓名：</label>
                <div class="form-item-block">
                    <input type="text" class="form-item-input" placeholder="请输入姓名" name="name" fm-verify="required" data-name="姓名">
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">姓别：</label>
                <div class="form-item-radio fui-radio-checked" fm-name="sex" fm-value="1">
                    <i class="fui-font fui-font-radio"></i>
                    <span>男</span>
                </div>
                <div class="form-item-radio" fm-name="sex" fm-value="2">
                    <i class="fui-font fui-font-radio"></i>
                    <span>女</span>
                </div>
                <input type="hidden" name="sex" value="1">
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">联系电话：</label>
                <div class="form-item-block">
                    <input type="text" class="form-item-input" placeholder="请输入联系电话" name="phone" fm-verify="required|phone" data-name="联系电话">
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">联系时间：</label>
                <div class="form-item-block">
                    <div class="form-item-data">
                        <input type="text" class="form-item-input" name="contactTime" readonly fm-verify="required" data-name="联系时间">
                        <i class="fui-font fui-font-data"></i>
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">应聘岗位：</label>
                <div class="form-item-block">
                    <div class="form-item-select">
                        <div class="form-select-title">
                            <input type="text" readonly placeholder="请选择应聘岗位" class="form-item-input">
                        </div>
                        <ol class="form-select-option" fm-name="job">
                            <li fm-value="1">前端工程师</li>
                            <li fm-value="2">java后台</li>
                            <li fm-value="3">前台助理</li>
                            <li fm-value="4">行政总监</li>
                            <li fm-value="5">内网安全</li>
                            <li fm-value="6">测试</li>
                        </ol>
                        <input type="hidden" name="job" value="" fm-select="job" fm-verify="required" data-name="应聘岗位">
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">应聘部门：</label>
                <div class="form-item-block">
                    <div class="form-item-select">
                        <div class="form-select-title">
                            <input type="text" readonly placeholder="请选择应聘部门" class="form-item-input">
                        </div>
                        <ol class="form-select-option" fm-name="department">
                            <li fm-value="1">移动互联</li>
                            <li fm-value="2">内网安全</li>
                            <li fm-value="3">行政</li>
                            <li fm-value="5">测试部</li>
                        </ol>
                        <input type="hidden" name="department" value="" fm-select="department" fm-verify="required" data-name="应聘部门">
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">面试官：</label>
                <div class="form-item-block">
                    <div class="form-item-select">
                        <div class="form-select-title">
                            <input type="text" readonly placeholder="请选择面试官" class="form-item-input">
                        </div>
                        <ol class="form-select-option" fm-name="interviewer">
                            <li fm-value="1">严总</li>
                            <li fm-value="2">张总</li>
                            <li fm-value="3">李总</li>
                            <li fm-value="5">赵总</li>
                        </ol>
                        <input type="hidden" name="interviewer" value="" fm-select="interviewer" fm-verify="required" data-name="面试官">
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">约定时间：</label>
                <div class="form-item-block">
                    <div class="form-item-data">
                        <input type="text" class="form-item-input" name="interviewerTime" readonly fm-verify="required" data-name="约定时间">
                        <i class="fui-font fui-font-data"></i>
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">面试地点：</label>
                <div class="form-item-block">
                    <input type="text" class="form-item-input" placeholder="请输入面试地点" name="interview" data-name="面试地点" fm-verify="required">
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">备注：</label>
                <div class="form-item-block">
                    <input type="text" class="form-item-input" name="remark">
                </div>
            </div>
        </form>
    </div>
</template>
<!--面试记录-->
<template id="interviewRecords">
    <div class="fui-form">
        <form action="" class="interviewRecordsForm">
            <input type="hidden" name="ids" value="{{ids}}">
            <div class="form-item">
                <label for="" class="form-item-label">姓名：</label>
                <div class="form-item-block">
                    <input type="text" class="form-item-input" value="{{names}}" disabled>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">性别：</label>
                <div class="form-item-block">
                    <input type="text" class="form-item-input" value="{{genders}}" disabled>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">联系电话：</label>
                <div class="form-item-block">
                    <input type="text" class="form-item-input" value="{{phones}}" disabled>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">联系时间：</label>
                <div class="form-item-block">
                    <input type="text" class="form-item-input" value="{{contactTimes}}" disabled>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">面试情况：</label>
                <div class="form-item-block">
                    <div class="form-item-select">
                        <div class="form-select-title">
                            <input type="text" readonly placeholder="请选择面试情况" class="form-item-input">
                        </div>
                        <ol class="form-select-option" fm-name="interviewStatus">
                            <li fm-value="1">同意面试</li>
                            <li fm-value="2">拒绝面试</li>
                            <li fm-value="3">未联系上</li>
                            <li fm-value="4">另约时间</li>
                            <li fm-value="5">面试未到</li>
                            <li fm-value="6">面试通过</li>
                            <li fm-value="7">复试未到</li>
                            <li fm-value="8">复试通过</li>
                            <li fm-value="9">录用</li>
                            <li fm-value="10">面试未通过</li>
                        </ol>
                        <input type="hidden" name="interviewStatus" value="" fm-select="interviewStatus" fm-verify="required" data-name="面试情况">
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">约定时间：</label>
                <div class="form-item-block">
                    <div class="form-item-data">
                        <input type="text" class="form-item-input" name="interviewerTime" readonly fm-verify="required" data-name="约定时间">
                        <i class="fui-font fui-font-data"></i>
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">应聘岗位：</label>
                <div class="form-item-block">
                    <div class="form-item-select">
                        <div class="form-select-title">
                            <input type="text" readonly placeholder="请选择应聘岗位" class="form-item-input">
                        </div>
                        <ol class="form-select-option" fm-name="job">
                            <li fm-value="前端开发">前端开发</li>
                            <li fm-value="java后台">java后台</li>
                            <li fm-value="前台助理">前台助理</li>
                            <li fm-value="行政总监">行政总监</li>
                            <li fm-value="内网安全">内网安全</li>
                            <li fm-value="测试">测试</li>
                        </ol>
                        <input type="hidden" name="job" value="{{job}}" fm-select="job" fm-verify="required" data-name="应聘岗位">
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">应聘部门：</label>
                <div class="form-item-block">
                    <div class="form-item-select">
                        <div class="form-select-title">
                            <input type="text" readonly placeholder="请选择应聘部门" class="form-item-input">
                        </div>
                        <ol class="form-select-option" fm-name="department">
                            <li fm-value="移动互联">移动互联</li>
                            <li fm-value="内网安全">内网安全</li>
                            <li fm-value="行政">行政</li>
                            <li fm-value="测试部">测试部</li>
                        </ol>
                        <input type="hidden" name="department" value="{{department}}" fm-select="department" fm-verify="required" data-name="应聘部门">
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">面试官：</label>
                <div class="form-item-block">
                    <div class="form-item-select">
                        <div class="form-select-title">
                            <input type="text" readonly placeholder="请选择面试官" class="form-item-input">
                        </div>
                        <ol class="form-select-option" fm-name="interviewer">
                            <li fm-value="严总">严总</li>
                            <li fm-value="张总">张总</li>
                            <li fm-value="李总">李总</li>
                            <li fm-value="赵总">赵总</li>
                        </ol>
                        <input type="hidden" name="interviewer" value="{{interviewer}}" fm-select="interviewer" fm-verify="required" data-name="面试官">
                    </div>
                </div>
            </div>
            <div class="form-item">
                <label for="" class="form-item-label">备注：</label>
                <div class="form-item-block">
                    <input type="text" class="form-item-input" name="remark">
                </div>
            </div>
        </form>
    </div>
</template>
<!--发送短信-->
<template id="sendSMS">
    <div class="sendSMSBox">
        <div class="ssb-hd"><input type="checkbox" id="ssh-1"><label for="ssh-1">向应聘者发送下述短信通知</label></div>
        <div class="ssb-bd">
            <textarea name="applicant"></textarea>
        </div>
        <div class="ssb-hd"><input type="checkbox" id="ssh-2"><label for="ssh-2">向面试官发送下述短信通知</label></div>
        <div class="ssb-bd">
            <textarea name="interviewer"></textarea>
        </div>
    </div>
</template>
<script src="../dest/js/fui.js"></script>
<script src="../dest/js/common.js"></script>
<script src="../dest/js/data.js"></script>
<script src="../dest/js/eps.js"></script>
<script>
    EPS.menu.i('employ');
    fui.use(['JsPage','JsTpl','JsForm','layer','JsTable','jeDate'],function(){
        EPS.employ.i();
    });
</script>
</body>
</html>
